#pragma once
#include "BaseInc.h"
class FrameBuffer
{
public:
	void Allocate(int w, int h);

	void SetColor(vec3 color,vec2 pos);

	void SaveToFile(string file);
	~FrameBuffer();
	unsigned char* data;
	int width;
	int height;
private:
	bool bAllocated = false;
};